import request from '@/utils/request'

// 查询勤工助学岗列表

export function wsplist(query) {
  return request({
    url: '/wsp/deptpost/wsplist',
    method: 'get',
    params: query
  })
}
// 申请部门岗位
export function apply(query) {
  return request({
    url: '/wsp/postemp/apply',
    method: 'post',
    data: query
  })
}
// 申请部门岗位
export function mystuworkstudy(query) {
  return request({
    url: '/wsp/postemp/mystuworkstudy',
    method: 'get',
    params: query
  })
}